package com.srs.bean;

import java.util.HashSet;
import java.util.Set;

/**
 * Dealer entity. @author MyEclipse Persistence Tools
 */

public class Dealer implements java.io.Serializable {

	// Fields

	private Integer dealerId;
	private Integer dealerBalance;
	private String dealerName;
	private String storefrontAddress;
	private String storefrontName;
	private String dealerMobile;
	private String dealerFaxes;
	private String portAddress;
	private String principalName;
	private Set dealerorders = new HashSet(0);
	private Set yearplandealeranalyzes = new HashSet(0);

	// Constructors

	/** default constructor */
	public Dealer() {
	}

	/** minimal constructor */
	public Dealer(Integer dealerBalance, String dealerName,
			String storefrontAddress, String storefrontName,
			String dealerMobile, String dealerFaxes, String portAddress,
			String principalName) {
		this.dealerBalance = dealerBalance;
		this.dealerName = dealerName;
		this.storefrontAddress = storefrontAddress;
		this.storefrontName = storefrontName;
		this.dealerMobile = dealerMobile;
		this.dealerFaxes = dealerFaxes;
		this.portAddress = portAddress;
		this.principalName = principalName;
	}

	/** full constructor */
	public Dealer(Integer dealerBalance, String dealerName,
			String storefrontAddress, String storefrontName,
			String dealerMobile, String dealerFaxes, String portAddress,
			String principalName, Set dealerorders, Set yearplandealeranalyzes) {
		this.dealerBalance = dealerBalance;
		this.dealerName = dealerName;
		this.storefrontAddress = storefrontAddress;
		this.storefrontName = storefrontName;
		this.dealerMobile = dealerMobile;
		this.dealerFaxes = dealerFaxes;
		this.portAddress = portAddress;
		this.principalName = principalName;
		this.dealerorders = dealerorders;
		this.yearplandealeranalyzes = yearplandealeranalyzes;
	}

	// Property accessors

	public Integer getDealerId() {
		return this.dealerId;
	}

	public void setDealerId(Integer dealerId) {
		this.dealerId = dealerId;
	}

	public Integer getDealerBalance() {
		return this.dealerBalance;
	}

	public void setDealerBalance(Integer dealerBalance) {
		this.dealerBalance = dealerBalance;
	}

	public String getDealerName() {
		return this.dealerName;
	}

	public void setDealerName(String dealerName) {
		this.dealerName = dealerName;
	}

	public String getStorefrontAddress() {
		return this.storefrontAddress;
	}

	public void setStorefrontAddress(String storefrontAddress) {
		this.storefrontAddress = storefrontAddress;
	}

	public String getStorefrontName() {
		return this.storefrontName;
	}

	public void setStorefrontName(String storefrontName) {
		this.storefrontName = storefrontName;
	}

	public String getDealerMobile() {
		return this.dealerMobile;
	}

	public void setDealerMobile(String dealerMobile) {
		this.dealerMobile = dealerMobile;
	}

	public String getDealerFaxes() {
		return this.dealerFaxes;
	}

	public void setDealerFaxes(String dealerFaxes) {
		this.dealerFaxes = dealerFaxes;
	}

	public String getPortAddress() {
		return this.portAddress;
	}

	public void setPortAddress(String portAddress) {
		this.portAddress = portAddress;
	}

	public String getPrincipalName() {
		return this.principalName;
	}

	public void setPrincipalName(String principalName) {
		this.principalName = principalName;
	}

	public Set getDealerorders() {
		return this.dealerorders;
	}

	public void setDealerorders(Set dealerorders) {
		this.dealerorders = dealerorders;
	}

	public Set getYearplandealeranalyzes() {
		return this.yearplandealeranalyzes;
	}

	public void setYearplandealeranalyzes(Set yearplandealeranalyzes) {
		this.yearplandealeranalyzes = yearplandealeranalyzes;
	}

}